// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastclick from 'fastclick'
import NutUI from '@nutui/nutui'
import moment from 'moment'
import './assets/css/border.css'
import './assets/css/reset.css'
import './assets/css/iconfont.css'
import '@nutui/nutui/dist/nutui.css'
import store from './store/store'
import axios from './assets/js/axios';
Vue.config.productionTip = false
fastclick.attach(document.body)
Vue.prototype.$axios = axios
// axios.defaults.withCredentials = true;

NutUI.install(Vue)
Vue.prototype.$moment = moment
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: {
    App
  },
  template: '<App/>'
})
